<link href="${rc.getContextPath()}/manage/css/dwzCustomCss/dwz.custom.css?v=${ver}" rel="stylesheet" type="text/css">

<div class="pageContent" id="jGridForWarehouseTypeLookUp"></div>

<script type="text/javascript">
    $('#jGridForWarehouseTypeLookUp').jGrid({
        layoutH: 135,
        base: '${rc.getContextPath()}/manage/warehouseType/',
        url: 'selectWarehouseTypeList',
        columns: [
            {field: '_index', text: '<@label key="serialNumber.C">序号</@label>', width: 40},
            {field: 'warehouseTypeCode', text: '<@label key="WarehouseTypeCode.C">仓库类型编号</@label>', width: 100, query: true},
            {field: 'warehouseTypeText', text: '<@label key="WarehouseTypeText.C">仓库类型描述</@label>', width: 100, query: true},
            {field: 'lockFlag', text: '<@label key="lockFlag.C">锁定标记</@label>', width: 50, transform: function(data){
                    if (data == 0) {
                        return '<@label    key="no.C">否</@label>';
                    } else if (data == 1) {
                        return '<@label    key="yes.C">是</@label>';
                    }
                }
            },
            {field: '_lookup', bringBackFields: ['warehouseTypeCode'], text: '请选择', width: 100}
        ]    
    });
</script>